package com.fpf.controller.vo.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProductInfoVO {
    @NotNull(message = "产品名称不能为空")
    private String productName;
    @Min(value = 0,message = "价格不能小于0")
    private BigDecimal productPrice;
    @NotNull(message = "状态不能为空")
    private Integer productStatus;
}
